using System.ComponentModel.DataAnnotations;

namespace EIMS.Models.Enums
{
    /// <summary>
    /// 交易类型
    /// </summary>
    public enum TransactionType
    {
        [Display(Name = "销售")]
        Sale = 0,
        
        [Display(Name = "退货")]
        Return = 1,
        
        [Display(Name = "折扣")]
        Discount = 2,
        
        [Display(Name = "赔偿")]
        Compensation = 3,
        
        [Display(Name = "其他收入")]
        OtherIncome = 4,
        
        [Display(Name = "其他支出")]
        OtherExpense = 5
    }
    
    /// <summary>
    /// 付款状态
    /// </summary>
    public enum PaymentStatus
    {
        [Display(Name = "未付款")]
        Unpaid = 0,
        
        [Display(Name = "部分付款")]
        PartiallyPaid = 1,
        
        [Display(Name = "已付款")]
        Paid = 2,
        
        [Display(Name = "已退款")]
        Refunded = 3,
        
        [Display(Name = "已取消")]
        Cancelled = 4
    }
    
    /// <summary>
    /// 支付方式
    /// </summary>
    public enum PaymentMethod
    {
        [Display(Name = "现金")]
        Cash = 0,
        
        [Display(Name = "银行卡")]
        BankCard = 1,
        
        [Display(Name = "微信支付")]
        WeChat = 2,
        
        [Display(Name = "支付宝")]
        Alipay = 3,
        
        [Display(Name = "企业转账")]
        BankTransfer = 4,
        
        [Display(Name = "其他")]
        Other = 5
    }
} 